package info.motteke.mixivoice4j;

import info.motteke.mixivoice4j.cache.InMemoryMixiVoiceCache;
import info.motteke.mixivoice4j.http.BasicMixiVoice;

/**
 * 単純な構成の{@link MixiVoice}を形成します。
 *
 * @author Y.Wakamatsu
 */
public class SimpleMixiVoiceFactory implements MixiVoiceFactory {

    public SimpleMixiVoiceFactory() {
        /* empty */
    }

    @Override
    public MixiVoice getMixiVoice() {
        return new BasicMixiVoice();
    }

    @Override
    public MixiVoiceCache getMixiVoiceCache() {
        return new InMemoryMixiVoiceCache();
    }
}

